#include <iostream>
using namespace std;

class Complex 
{
    private:
        int a, b;
    public:
        void set_data(int x, int y);
        void get_data()
        {
            cout << a << " " << b << endl;
        }
};

void Complex::set_data(int x, int y)
{
    a = x;
    b = y;
}

int main() 
{
    Complex c1;
    c1.set_data(5, 7);
    c1.get_data();
}